//
//  GameState.h
//  operator
//
//  Created by Andrej on 11.01.12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface GameState : NSObject {
    /* will be set to true after correct login */
    bool running;

    /* this is the team id the operator has */
    NSString *teamId;

    /* team data shown by the panel */
    NSString *teamPoints;
    NSString *teamMoney;

    /* this is the data which is send by each keyframe from the server */
    /* objects of class Team */
    NSMutableDictionary *teams;
    /* objects of class Ckeckpoint */
    NSMutableDictionary *checkpoints;

    /* all annotations (objects of calss MapIcon) on the map */
    NSMutableDictionary *mapAnnotations;
}

@property bool running;
@property (retain) NSString *teamId;
@property (retain) NSString *teamPoints;
@property (retain) NSString *teamMoney;
@property (retain) NSMutableDictionary *teams;
@property (retain) NSMutableDictionary *checkpoints;
@property (retain) NSMutableDictionary *mapAnnotations;

+ (GameState*)defaultState;

@end
